package com.wnnight.wys.serviceImpl.repairs;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.wnnight.wys.entity.repairs.RepairsRecord;
import com.wnnight.wys.mapper.repairs.RepairsRecordMapper;
import com.wnnight.wys.service.repairs.RepairsRecordService;
import com.wnnight.wys.vo.RepairsGroupVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * @author rzh6230
 * 2022/8/27 19:05
 */
@SuppressWarnings("all")
@Service
@Transactional
public class RepairsRecordServiceImpl extends ServiceImpl<RepairsRecordMapper, RepairsRecord> implements RepairsRecordService {
    @Autowired
    private RepairsRecordMapper repairsRecordMapper;

    @Override
    public List<RepairsGroupVo> getRepairsInfo() {
        return repairsRecordMapper.getRepairInfo();
    }
}
